
package cn.knowimage.service.impl;

import cn.knowimage.mapper.Audit_InfoMapper;
import cn.knowimage.pojo.Audit_Info;
import cn.knowimage.service.Audit_InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Audit_InfoServiceImpl implements Audit_InfoService {

	@Autowired
	public Audit_InfoMapper audit_InfoMapper;
	//查询audit_Info表中的所有字段
	@Override
	public List<Audit_Info> findAll() {
		return audit_InfoMapper.findAll();
	}

	//对audit_Info实现添加一条记录
	@Override
	public int insertAudit_info(Audit_Info audit_Info) {
		return audit_InfoMapper.insertAudit_info(audit_Info);
	}

}
